package com.yonyou.crm.sact.schedule.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.yonyou.crm.common.biz.service.BaseBizServiceImpl;
import com.yonyou.crm.sact.schedule.entity.ScheduleGoodjobVO;
import com.yonyou.iuap.context.InvocationInfoProxy;
@Service
public class ScheduleGoodjobBizServiceImpl extends BaseBizServiceImpl<ScheduleGoodjobVO>{
	
	public ScheduleGoodjobVO save(ScheduleGoodjobVO scheduleGoodjob){
		return super.saveVO(scheduleGoodjob);
	}
	
	public ScheduleGoodjobVO update(ScheduleGoodjobVO scheduleGoodjob){
		return super.updateVO(scheduleGoodjob);
	}
	
	public int deleteGoodjobByIDs(String[] idStrs) {
		return super.batchDeleteByIDs(ScheduleGoodjobVO.class, idStrs);
	}
	
	public List<ScheduleGoodjobVO> getList(Map<String, Object> paramMap){
		List<ScheduleGoodjobVO> goodjobList = null;
		if (paramMap == null) {
			paramMap = new HashMap<String, Object>();
		}
		paramMap.put("tenantId", InvocationInfoProxy.getTenantid());
		goodjobList = dao.selectVoList(ScheduleGoodjobVO.class, "getCommentList", paramMap);
		return goodjobList;
	}
}
